package com.syni.mdd.yhd.common.all.service;

import com.syni.mdd.yhd.common.all.dao.jpa.BmsBusinessInfoDao;
import com.syni.mdd.yhd.common.all.entity.BmsBusinessInfo;
import com.syni.mdd.sjb.common.component.utils.common.utils.ParamsMap;
import com.syni.mdd.yhd.common.all.vo.rq.businessInfo.AddBusinessAlipayInfoVo;

import java.util.Map;
import java.util.Set;

/**
 * @className
 * @description TOO
 * @Author cfx
 * @DATE 2019/4/9 12:04
 * @VERSION 1.0
 **/
public interface BmsBusinessinfoService {

    boolean checkBusinessHavingPayInfo(Integer businessId);

    BmsBusinessInfoDao getBaseDao();

    Map<String, Object> payTreasureConfirm(ParamsMap paramsMap);

    Map<String, Object> createAlipay(ParamsMap paramsMap);

    Map<Integer, BmsBusinessInfo> getBmsBusinessInfoMap(Set businessIds);

    BmsBusinessInfo getBusinessInfoByBusinessId(Integer id);

    boolean checkAliPayUid(String alipayUser,String alipayUid);

    boolean improveCollectionInfo(AddBusinessAlipayInfoVo addBusinessAlipayInfoVo);

    Map<String, Object> getAlipayInfo(ParamsMap paramsMap);
}
